vt-d: convert conditionals of qi_ctrl->qinval_maddr into ASSERT()s
authorQuan Xu <quan.xu@intel.com>
Tue, 28 Jun 2016 09:35:40 +0000 (11:35 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 28 Jun 2016 09:35:40 +0000 (11:35 +0200)
commit2b63aa1d5032b7d1acd3314a1bb1f0592e5e64f6
treee6b6fb825efd73de6fa835968dce1f5ee7a7e63b
parenta7f581ff451823f854359d85e1d1827eee59efda
vt-d: convert conditionals of qi_ctrl->qinval_maddr into ASSERT()s

QI ought to have got disabled if any of the IOMMU table setup
failed. A QI function (other than enable_qinval) is unreachable
when qi_ctrl->qinval_maddr is zero.

Signed-off-by: Quan Xu <quan.xu@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/qinval.c